package com.liuguang.common.constans;

/**
 * @ClassName: CommonConstans
 * @Description：
 * @Author: wanghr
 * Date: 5:58 PM 2020/9/11
 * Version: 1.0
 */
public class CommonConstans {
    //通用result.msg
//    public static final String RESULT_SUCCESS = "操作成功";
//    public static final String RESULT_FAIL = "操作失败";

    public static final String PUBLIC_KEY = "publicKey";
    public static final String PRIVATE_KEY = "privateKey";


    public static final String REDIS_SAVE_TIME = "saveTime";
    public static final String REDIS_SAVE_KEYS = "keys";


    public static final String REDIS_ACQUARE_CODE_FAIL = "redis获取验证码失败";
//    public static final String VERIFY_CODE_PHONE_TYPE = "phone_";
//    public static final String VERIFY_CODE_USERNAME_PASSWORD_TYPE = "usernamepassword_";
    public static final String VERIFY_CODE_FAIL = "验证码，验证失败";
    public static final String VERIFY_CODE_SUCCESSL = "验证码，验证成功";
    public static final String REDIS_VERIFY_CODE_DELATE_FAIL = "验证码删除失败";

    public static final String PRIVATE_KEY_RESOURCE_URL = "/keys/privatekey.txt";
    public static final String PUBLIC_KEY_RESOURCE_URL = "/keys/publickey.txt";


    public static final Byte DELATE_DEFULT = 0;
    public static final Integer DELATE_COUNT = 0;

    public static final String PARAM_NULL = "传入的参数必须非空";

    //    =================SMS ====================

    public static final String SMS_SEND_SUCCESS = "短信发送成功";
    public static final String SMS_SEND_FIAL = "短信发送失败";
    public static final String PHONE_MUST_NOT_NULL = "手机号不能为空";
    public static final String CODE_SENDED = "该手机号已发送过验证码";
    public static final String CODE_TIME_OUT = "验证码过期";
    public static final String HASCOUNT_MORETAN_ONE = "该手机号有多个账号";
    public static final String HASCOUNT = "该手机号存在账号";

    public static final String SECURITY_FAIL = "security 框架验证出异常";

    //  ================ Rabbitmq ========================
    public static final String DIRECT_EXCHANGE_NAME = "DIRECT_EXCHANGE";
    public static final String EMAIL_QUEUE_NAME = "EMAIL_QUEUE";
    public static final String EMAIL_ROUTING_KEY = "EMAIL_ROUTING_KEY";

    public static final String TEST_QUEUE = "TEST_QUEUE";
    public static final String TEST_ROUTING_KEY = "TEST_ROUTING_KEY";

    public static final String DEAD_LETTER_EXCHANGE = "DEAD_LETTER_EXCHANGE";
    public static final String DEAD_LETTER_QUEUE = "DEAD_LETTER_QUEUE";
    public static final String DEAD_LETTER_ROUTING_KEY = "DEAD_LETTER_ROUTING_KEY";

    // ================== token ========================
    public static final String TOKEN_PRASE_FAIL = "token解析失败";
    public static final String TOKEN_NULL = "token为空";
    public static final String REDIS_GET_USER_INFO_FAIL = "从redis获取用户信息失败";

    //=================redis ================
    public static final String FAIL_MESSAGE_LIST_KEY = "failMessageListKey";

}

